package ch02_data.generics.classuse;

/**
 * 指定父类泛型格式
 *
 * @author guodd
 * @version 1.0 use jdk 1.8
 */
public class Sub02 extends Sub<Integer> {
    // public Sub02<>() {  构造器错误写法
    public Sub02() {
    }

    @Override
    public void setT(Integer integer) {
        super.setT(integer);
    }

    public Sub02(int i) {
    }

    public static void main(String[] args) {
        Sub02 sub02 = new Sub02(1);
    }
}
